import PageTools from './PageTools/index.vue'
import AddEmployes from '@/views/employees/components/add-employee'
import UploadExcel from '@/components/UploadExcel'
import ImageUpload from '@/components/ImageUpload'
// vue插件
// 函数方式
// export default function(Vue) {
//   Vue.component('PageTools', PageTools)
// }

// 对象方式
export default {
  install(Vue) {
    Vue.component('PageTools', PageTools)
    Vue.component('AddEmployes', AddEmployes)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('ImageUpload', ImageUpload)
  }
}

